package com.kaka.bus.engine.home.main.limit;

import com.kaka.bus.bean.BpmList;
import com.kaka.bus.bean.HttpWrapper;
import com.kaka.bus.bean.ProductDetailBean;
import com.kaka.bus.bean.Status;
import com.kaka.bus.mvp.BasePresenter;
import com.kaka.bus.mvp.BaseView;

import java.util.List;

/**
 * Created by OnionMac on 2018/7/30.
 */

public interface LimitContract {

    interface View extends BaseView {

        void bpmListSuccess(HttpWrapper<List<BpmList>> wrapper);

        void checkBpmSuccess(HttpWrapper<Status> wrapper);

        void recommendSuccess(HttpWrapper<ProductDetailBean> wrapper);
    }

    interface Presenter extends BasePresenter<View> {
        void bpmList(String userId, String token, String productId);

        void checkBpm(String userId, String token);

        void recommend(String userId, String token, String device, String version);

    }

}
